import request from '@/utils/request'

//员工登录
export const empLoginApi = (data) => request.post('/login', data)

//用户登录
export const userLoginApi = (data) => request.post('/user/login', data)

//管理员登录
export const adminLoginApi = (data) => request.post('/admin/login', data)

//用户注册
export const userRegisterApi = (data) => request.post('/user/register', data)